{% extends 'base.html' %}
{% load static %}

{% block content %}
    <div class="author-profile">
        <div class="information-about-author">
            <div class="photo-of-author">
                <img src="
                    {% if author.image %}
                        {{ author.image.url }}
                    {% else %}
                        {% static 'images/empty_avatar.jpg' %}
                    {% endif %}
                " alt="">
            </div>
            <div class="other-information-of-author">
                <div class="authors-name">
                    <span>{{ author.name }}</span>
                </div>
                <div class="description-author">
                    <p>{{ author.description|truncatewords:60 }}</p>
                </div>
            </div>
        </div>
        <div class="authors-content">
            <div class="authors-content-headers">
                <div class="something-of-author authors-book" data-active-author-content-tab="true">
                    <span>Книги</span>
                    <div class="">
                    </div>
                </div>
                <div class="something-of-author about-author" data-active-author-content-tab="false">
                    <span>Об авторе</span>
                    <div class="contents-of-tab contents-of-about-author-tab">
                    </div>
                </div>
                <div class="something-of-author quotes-from-authors-book" data-active-author-content-tab="false">
                    <span>Цитаты</span>
                    <div class="contents-of-tab contents-of-qutes-tab">
                    </div>
                </div>
            </div>
            <div class="authors-content-main">
            </div>
        </div>
    </div>
{% endblock %}
